package com.xzy.Service;

import org.springframework.stereotype.Component;

/**
 * 具体策略1
 * 新客户小批量不打折
 */
@Component("customer1")
public class NewCustomerFewStrategy implements Strategy{

    @Override
    public double getPrice(double price) {
        System.out.println("不打折，原价");
        return price;
    }
}
